package com.zt.service;

import com.zt.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zt.utils.Result;

/**
* @author 不.凌
* @description 针对表【user_info】的数据库操作Service
* @createDate 2024-09-03 17:37:56
*/
public interface UserInfoService extends IService<UserInfo> {

    //登录功能
    Result login(String username, String password, String code);
    //点击生成验证码
    Result code();
    //获取当前登录用户
    Result getUserInfo();

    String getUserById(Integer uid);
//    查询用户信息
    UserInfo getUserInfoById(Integer userId);


    Result getByName(String username);
    UserInfo getUserInfoByUserInfo(String idCard);

    UserInfo getUserInfoUserId();
}
